import asyncio

from sympy import arg

from src.flappy import Flappy
import sys
if __name__ == "__main__":
    arguments = sys.argv
    rl_pth = arguments[1] if len(arguments) > 1 else "/home/zlz/flappybird/FlapPyBird/exps/train1/run19/model_1500.pth"
    asyncio.run(Flappy(rl_pth).start())
